package edu.scut.course_management.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import edu.scut.course_management.po.Class;

/**
 * 数据访问，对应库表：class
 * @author sherry
 */
@Repository
public interface ClassMapper {
    // 返回专业的班级列表
    List<Class> getMajorClasses (@Param("majorId") Integer majorId, @Param("enrollmentYear") String enrollmentYear);
}
